
;--- always create relative fixups in 64-bit segment when
;--- accessing 16/32-bit segment data
;--- works since v2.13

	.x64

_DATA16 segment use16 'DATA'
var16	dw 16
_DATA16 ends

_DATA32 segment use32 'DATA'
var32	dw 32
_DATA32 ends

_DATA64 segment use64 'DATA'
var64	dw 64
_DATA64 ends

_TEXT64 segment use64 'CODE'
	assume ds:flat
	mov ax,[var16]
	mov ax,[var32]
	mov ax,[var64]
_TEXT64 ends

end 
